<?php /* Smarty version Smarty-3.1.8, created on 2017-02-23 06:49:52
         compiled from "view\admin\cateEdit.html" */ ?>
<?php /*%%SmartyHeaderCode:1103658a943ca9a0627-35761187%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'c243b4fb88933d1bc7ffed8fde0f614332c1f9d3' => 
    array (
      0 => 'view\\admin\\cateEdit.html',
      1 => 1487489174,
      2 => 'file',
    ),
    '3273d963a6bc6763b6bef5e02a1c4056533c6e3b' => 
    array (
      0 => 'view\\admin\\base2.html',
      1 => 1487689392,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1103658a943ca9a0627-35761187',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_58a943caa50e78_53289992',
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_58a943caa50e78_53289992')) {function content_58a943caa50e78_53289992($_smarty_tpl) {?><!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>
            博客后台         
        </title>
        <meta name="renderer" content="webkit">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
        <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="format-detection" content="telephone=no">
        <link rel="stylesheet" href="./public/admin/css/x-admin.css" media="all">
    </head>
    <body>       
        
        <div class="x-body">
            <form class="layui-form" action="index.php?c=admin&a=cateUpdate" method="post">
                <div class="layui-form-item">
                    <input type="hidden" name="id" required lay-verify="id" value="<?php echo $_smarty_tpl->tpl_vars['cate']->value['id'];?>
" 
                        autocomplete="off" class="layui-input">
                    <label for="cname" class="layui-form-label">
                        ID
                    </label>
                    <div class="layui-input-inline">
                        <input type="text" id="cname" name="id" required="" lay-verify="required"
                        autocomplete="off"  value="<?php echo $_smarty_tpl->tpl_vars['cate']->value['id'];?>
" disabled="" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label for="cname" class="layui-form-label">
                        <span class="x-red">*</span>分类名
                    </label>
                    <div class="layui-input-inline">
                        <input type="text" id="cname" name="name" required="" lay-verify="required"
                        autocomplete="off" value="<?php echo $_smarty_tpl->tpl_vars['cate']->value['name'];?>
" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">
                            状态
                        </label>
                        <div class="layui-input-block">
                             <select lay-verify="required" name="state">
                                <option>
                                </option>
                                <option value="0" <?php if ($_smarty_tpl->tpl_vars['cate']->value['state']=='0'){?>selected<?php }?>>不显示</option>
                                <option value="1" <?php if ($_smarty_tpl->tpl_vars['cate']->value['state']=='1'){?>selected<?php }?>>显示</option>
                            </select>
                        </div>
                    </div>
                </div>
                
                
                <div class="layui-form-item">
                    <label for="L_repass" class="layui-form-label">
                    </label>
                    <button  class="layui-btn" lay-filter="save" lay-submit="">
                        保存
                    </button>
                </div>
            </form>
        </div>

        
         <script src="./public/js/jquery-1.8.2.min.js"></script>
        <script src="./public/admin/lib/layui/layui.js" charset="utf-8"></script>
        <script src="./public/admin/js/x-admin.js"></script>
         <script src="./public/admin/js/x-layui.js"></script>
        
    
        <script>
            layui.use(['form','layer','layedit'], function(){
                $ = layui.jquery;
              var form = layui.form()
              ,layer = layui.layer
              ,layedit = layui.layedit;
                 });
        </script>
    

        <script>
        var _hmt = _hmt || [];
        (function() {
          var hm = document.createElement("script");
          hm.src = "https://hm.baidu.com/hm.js?b393d153aeb26b46e9431fabaf0f6190";
          var s = document.getElementsByTagName("script")[0]; 
          s.parentNode.insertBefore(hm, s);
        })();
        </script>
    </body>
</html><?php }} ?>